﻿using Future.Common.Models;
using Future.Model.DtoModel;
using Future.Model.SysModel;

namespace Future.IDAL
{
    /// <summary>
    /// 描述：用户数据访问接口
    /// 创建人： yangkai
    /// 创建时间：2022/11/9 13:43:08
    /// </summary>
    public interface IUserDAL : IBaseDAL<UserModel>
    {
        /// <summary>
        /// 查询角色已授权用户分页列表
        /// </summary>
        /// <param name="userQueryDto"></param>
        /// <param name="page"></param>
        /// <returns></returns>
        PageModel<UserModel> AllocatedUserPageList(UserQueryDto userQueryDto, PageParModel page);

        /// <summary>
        /// 分页获取用户信息列表
        /// </summary>
        /// <param name="queryDto"></param>
        /// <param name="page"></param>
        /// <returns></returns>
        PageModel<UserModel> GetUserPageList(UserQueryDto queryDto, PageParModel page);

        /// <summary>
        /// 查询角色未授权用户列表
        /// </summary>
        /// <param name="userQueryDto"></param>
        /// <param name="page"></param>
        /// <returns></returns>
        PageModel<UserModel> UnallocatedPageList(UserQueryDto userQueryDto, PageParModel page);
    }
}
